package com.ruoyi.project.syl_Sxl.syldept.mapper;

import com.ruoyi.project.syl_Sxl.syldept.domain.SylDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SylDeptMapper {
    //根据条件查询科室
    List<SylDept> selectList(SylDept sylDept);
    //新增科室
    int insertDept(SylDept sylDept);
    //查询单个
    SylDept selectById(Long deptId);
    //修改操作
    int updateDept(SylDept sylDept);
    //删除操作
    int deleteByIds(Long[] ids);

    List<SylDept> selectAll();
}
